import java.util.Scanner;
public class Error {
    public static void main(String[] args) {
        Error e1 = new Error();
        e1.sys();
    }
    public void sys(){
        Scanner s1 = new Scanner(System.in);
        System.out.println("输入ID");
        int id = s1.nextInt();
        if(id>0){
            System.out.println("ID正确");
        }
        else {
            throw new RuntimeException("ID错误");
        }
    }
}
